pattern 170000 177777
